package com.sikaryofficial.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sikaryofficial.backend.domain.entity.ArticleExt;
import com.sikaryofficial.backend.domain.vo.infomation.ArticleExtVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章扩展Mapper接口
 *
 * @author qinjinyuan
 * @date 2024-04-15
 */
public interface ArticleExtMapper extends BaseMapper<ArticleExt> {

    ArticleExtVO getVOById(@Param("articleId") Long articleId);

    List<ArticleExtVO> getDataByIds(@Param("articleIds") List<Long> articleIds);
}
